from django.urls import re_path
from . import views

app_name = 'gallery'
urlpatterns = [
    re_path(r'^album/$', views.AlbumListView.as_view(), name='album_list'),
    re_path(r'^album/(?P<pk>\d+)/(?P<slug>[-\w]+)/$', views.AlbumDetail.as_view(), name='album_detail'),
]
